export default {
    install(Vue,options)
    {
        // Vue.prototype.baseUrl = function () {
        //     return '111';
        // };
        //https://www.aerosinfo.com.cn/nfxappport-1.0/
        let uUrl = window.location.hostname == "11.43.250.2" ? (window.location.hostname+":6080") : ("http://111.204.37.131:5051");
        let paths = "http://111.204.37.131:5052/nfxappport-1.0/";
        // let paths = "http://localhost:8086/";

        Vue.prototype.baseUrl = {
            // imgPath: "https://www.aerosinfo.com.cn/pp",
            imgPath: "http://111.204.37.131:5052/pp",
            tjurl: paths + "tj/ajtj",
            ryTreeUrl: paths + "tj/jdytj",
            jdyxxUrl: paths + "tj/serchjdyajxx",
            ajxxUrl: paths + "tj/serchajxx",
            serchRyGjUrl: paths + "gj/serchRyGj",
            //searchAllUrl: paths + "tj/serchajxxfl",
            searchAllUrl: paths + "tj/serchajxxflpage",
            searchByRecUrl: paths + "tj/serchajxxrec",
            ajfxqydt: paths + "tj/ajfxqydt",
            ajfxlxdt: paths + "tj/ajfxlxdt",
            ajfxlydt: paths + "tj/ajfxlydt",
            ajfxgfwt: paths + "tj/ajfxgfwt",
            searchWtlx: paths + "qy/getProblemTypes",
            gwpj: paths + "zhpj/gwpj",
            pmrxpj: paths + "zhpj/pmrxpj",
            pmrxpjxx: paths + "zhpj/pmrxpjxx",
            wtsbpj: paths + "zhpj/wtsbpj",
            wtsbpjxx: paths + "zhpj/wtsbpjxx",
            sxt: paths + "spjk/sxt",
            // wgtj: "http://localhost:7080/jcsj/wgtj",
            wgtj: paths + "jcsj/wgtj",
            bjtj: paths + "jcsj/bjtj",
            ajtjsl: paths + "tj/ajtjsl",
            spjk: "http://11.43.250.2:8080/hkVideo/cn/videoIndex.html",
            //arcgisWgUrl: "http://111.204.37.131:5051/arcgis/services/WGGD/MapServer/WMSServer",
            WgUrl: uUrl+"/arcgis/services/WGGD/MapServer/WMSServer",
            arcgisProxyUrl: "http://localhost:5010/DotNet/proxy.config",
            clickBarUrl: paths + "qy/select_bujian_info",
            changeCun: paths + "qy/select_bujian_cun"
        };
        Vue.prototype.getTitle = {
            title:'监督系统',
            isBack: true,
            isAdd:  false,
        };
    }
}
